package com.example.demo.cn.edu.qzit.cmj.mappers;

import com.example.demo.cn.edu.qzit.cmj.domain.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {

    List<User> list();
    int save(User user);
    int delete(Integer id);
    int update(User user);
    User findById(Integer id);
}
